package com.janko.springbootbase.basic.enumTest;

import com.sun.org.apache.xpath.internal.operations.Bool;

/**
 * @Author nyk
 * @Date 2023/2/2 10:34
 * @Version 1.0
 * @Desc 测试枚举相关
 */
public class MainController {
    public static void main(String[] args) {
        Vehicle vv=new Vehicle();
        vv.setCode("11");
        vv.setId(1);
        vv.setVehicleType(VehicleType.KECHE);
        vv.setVehicleColor(VehicleColor.Black);
        System.out.println(com.alibaba.fastjson.JSONObject.toJSONString(vv));

        Boolean man=true;
        System.out.println(Integer.max(1,3));
    }
}

